<include file="Public:header" />
			<include file="Public:menu" />
			<div id="right">
				<div class="top"></div>
				<div class="app_right_banner">
					<div class="app_face">
						<img src="__PUBLIC__/Uploads/face/small/{$userInfo['faceimg']}"/>
					</div>
					<div class="app_userinfo">
						<p class="app_module">{$group:name} -- 群组头像修改</p>
						<p class = "app_module_back"><a href="__APP__/showgroup/{.id}">返回群组</a></p>
					</div>
				</div>
				<div class="app_right_menu">
					<div class="arm_2">
						<a href="__URL__/editgroup/id/{.id}">群组信息修改</a>
					</div>
					<div class="arm_1">
						群组头像修改					
					</div>
					<div class="arm_2">
						<a href="__URL__/setgroupuser/id/{.id}">成员设置</a>				
					</div>
				</div>

				<div class="create_body">
					<div id="now_face">
						<h3 class="h3">当前头像</h3>
						<p>
							<?php 
								if('nophoto.jpg' == $group['img']):
							 ?>
								<img id="big_face" src="__PUBLIC__/Uploads/nophoto.jpg"/>
							<?php 
								else:
							 ?>
								<img id="big_face" width="200px;" src="__PUBLIC__/Uploads/group/{$group['img']}"/>
							<?php endif; ?>
						</p>
					</div>
					<div id="update_face">
						<h3 class="h3">上传头像</h3>
						<form action="__URL__/savegroupface" enctype="multipart/form-data" method="POST">
						<p>
							<input type="file" name="userface"/>
 						</p>
						<p>
							<input type="hidden" name="edit" value="yes"/>
							<input type="hidden" name="groupid" value="{$group['id']}"/>
							<input type="submit" value="修改头像" class="input2"/>
						</p>
						</form>
					</div>
				</div>
			</div>
<include file="Public:footer" />